package com.gitee.aurora.agent.controller;

import com.gitee.aurora.agent.service.BaqCheckService;
import com.gitee.aurora.core.utils.ResultVO;
import com.gitee.aurora.agent.vo.DataCheckVo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

/**
 * author: jiangfuxiao
 * Date:2022/9/2 9:28
 */
@Controller
@ResponseBody
@RequestMapping("baqCheck")
public class BaqCheckController {


    @Resource(name = "baqCheckServiceImpl")
    private BaqCheckService baqService;


    @PostMapping("/queryTableData")
    public ResultVO queryTableData(@RequestBody  DataCheckVo vo) {

        return baqService.queryTableData(vo);
    }

}
